package a.j;

import a.c.d;
import a.c.e;
import a.c.w;
import a.c.y;
import a.c.z;
import a.i.v;
import a.j.a.j;

import java.util.HashSet;
import java.util.Iterator;

public class sc
{
  public static final int a = 0;
  public static final int b = 1;
  public static final int c = 2;
  public static final int d = 3;
  public static final int e = 4;
  public static final int f = 5;
  public static final int g = 6;
  int[] h;
  private z i;
  private z j;
  private z k;
  private z l;
  private z m;
  private z n;
  private z o;
  private z p;
  public static boolean q;
  
  public sc(g paramg, double paramDouble1, double paramDouble2, boolean paramBoolean)
  {
    a(0, 1, 2, 3, 4, 6, 5);
    a(paramg, paramDouble1, paramDouble2, paramBoolean, true, true, true, true);
  }
  
  public sc(g paramg, double paramDouble1, double paramDouble2, int paramInt)
  {
    a(paramInt, -1, -1, -1, -1, -1, -1);
    a(paramg, paramDouble1, paramDouble2, true, true, true, true, true);
  }
  
  public sc(g paramg, double paramDouble1, double paramDouble2, int paramInt, boolean paramBoolean)
  {
    a(paramInt, -1, -1, -1, -1, -1, -1);
    a(paramg, paramDouble1, paramDouble2, paramBoolean, true, true, true, true);
  }
  
  public sc(g paramg, double paramDouble1, double paramDouble2, boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7)
  {
    a(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7);
    a(paramg, paramDouble1, paramDouble2, paramBoolean, true, true, true, true);
  }
  
  public sc(pg parampg, double paramDouble1, double paramDouble2, boolean paramBoolean, int paramInt)
  {
    this(parampg, paramDouble1, paramDouble2, paramBoolean, paramInt, -1, -1, -1, -1, -1, -1);
  }
  
  public sc(pg parampg, double paramDouble1, double paramDouble2, boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7)
  {
    a(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7);
    if (!bool3) {
      if (this.h.length == 0) {
        return;
      }
    }
    if (!bool3) {}
    boolean bool1 = !Boolean.TRUE.equals(parampg.getClientProperty("Graph2DView.hitTestInvisibleElements"));
    g localg = parampg.a();
    hc localhc = parampg.W();
    if ((bool3) || ((localhc instanceof vd)))
    {
      jc localjc;
      if (parampg.M() >= parampg.X())
      {
        localjc = ((vd)localhc).a();
        if (bool3) {
          break label145;
        }
        if (!bool2) {}
      }
      else
      {
        localjc = ((vd)localhc).b();
      }
      label145:
      int i1 = 0;
      int i2 = 0;
      do
      {
        if (i2 >= this.h.length) {
          break;
        }
        if (bool2) {
          break label316;
        }
        switch (this.h[i2])
        {
        case 0: 
          i1 |= 0x4;
          if (bool3) {
            continue;
          }
          if (!bool2) {
            break;
          }
        case 1: 
          i1 |= 0x8;
          if (bool3) {
            continue;
          }
          if (!bool2) {
            break;
          }
        case 2: 
          i1 |= 0x20;
          if (bool3) {
            continue;
          }
          if (!bool2) {
            break;
          }
        case 3: 
          i1 |= 0x2;
          if (bool3) {
            continue;
          }
          if (!bool2) {
            break;
          }
        case 4: 
          i1 |= 0x1;
          if (bool3) {
            continue;
          }
          if (!bool2) {
            break;
          }
        case 5: 
          i1 |= 0x10;
        }
        i2++;
      } while (!bool2);
      label316:
      i2 = (!bool3) && (bool1) ? 1 : -1;
      if (!bool3) {}
      a(localg, new v(localjc.b(localg, i1), new fg(localg, i2, i2, i2, i2)), paramDouble1, paramDouble2, paramBoolean, this.h.length == 1);
      if (!bool2) {}
    }
    else
    {
      a(localg, paramDouble1, paramDouble2, paramBoolean, bool1, bool1, bool1, bool1);
    }
  }
  
  public sc(pg parampg, double paramDouble1, double paramDouble2, boolean paramBoolean)
  {
    a(-1, -1, -1, -1, -1, -1, -1);
    g localg = parampg.a();
    hc localhc = parampg.W();
    if ((bool) || ((localhc instanceof vd)))
    {
      jc localjc;
      if (parampg.M() >= parampg.X())
      {
        localjc = ((vd)localhc).a();
        if (bool) {
          break label104;
        }
        if (!ld.D) {}
      }
      else
      {
        localjc = ((vd)localhc).b();
      }
      label104:
      if (!bool) {}
      int i1 = !Boolean.TRUE.equals(parampg.getClientProperty("Graph2DView.hitTestInvisibleElements")) ? 1 : -1;
      a(localg, new v(localjc.b(localg, -1), new fg(localg, i1, i1, i1, i1)), paramDouble1, paramDouble2, paramBoolean, true);
    }
  }
  
  public sc(g paramg, Iterator paramIterator, double paramDouble1, double paramDouble2, boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7)
  {
    a(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7);
    if (!bool) {
      if (this.h.length == 0) {
        return;
      }
    }
    if (!bool) {}
    a(paramg, paramIterator, paramDouble1, paramDouble2, paramBoolean, this.h.length == 1);
  }
  
  public sc(g paramg, Iterator paramIterator, double paramDouble1, double paramDouble2, boolean paramBoolean)
  {
    a(-1, -1, -1, -1, -1, -1, -1);
    a(paramg, paramIterator, paramDouble1, paramDouble2, paramBoolean, true);
  }
  
  protected sc()
  {
    a(-1, -1, -1, -1, -1, -1, -1);
  }
  
  protected sc(sc paramsc)
  {
    this.n = new z();
    if (!bool)
    {
      if (!paramsc.n.isEmpty()) {
        this.n.addAll(paramsc.n);
      }
      this.i = new z();
    }
    if (!bool)
    {
      if (!paramsc.i.isEmpty()) {
        this.i.addAll(paramsc.i);
      }
      this.j = new z();
    }
    if (!bool)
    {
      if (!paramsc.j.isEmpty()) {
        this.j.addAll(paramsc.j);
      }
      this.k = new z();
    }
    if (!bool)
    {
      if (!paramsc.k.isEmpty()) {
        this.k.addAll(paramsc.k);
      }
      this.l = new z();
    }
    if (!bool)
    {
      if (!paramsc.l.isEmpty()) {
        this.l.addAll(paramsc.l);
      }
      this.m = new z();
    }
    if (!bool)
    {
      if (!paramsc.m.isEmpty()) {
        this.m.addAll(paramsc.m);
      }
      this.o = new z();
    }
    if (!bool)
    {
      if (!paramsc.o.isEmpty()) {
        this.o.addAll(paramsc.o);
      }
      this.p = new z();
    }
    if (!bool) {
      if (!paramsc.p.isEmpty()) {
        this.p.addAll(paramsc.p);
      }
    }
    int i1 = paramsc.h.length;
    this.h = new int[i1];
    System.arraycopy(paramsc.h, 0, this.h, 0, i1);
  }
  
  protected void a(eb parameb)
  {
    this.k.add(parameb);
    this.p.add(parameb);
  }
  
  protected void a(d paramd)
  {
    this.i.add(paramd);
    this.p.add(paramd);
  }
  
  protected void a(ig paramig)
  {
    this.l.add(paramig);
    this.p.add(paramig);
  }
  
  protected void a(e parame)
  {
    this.j.add(parame);
    this.p.add(parame);
  }
  
  protected void a(jg paramjg)
  {
    this.m.add(paramjg);
    this.p.add(paramjg);
  }
  
  protected void a(zd paramzd)
  {
    this.n.add(paramzd);
    this.p.add(paramzd);
  }
  
  protected void a(jd paramjd)
  {
    this.o.add(paramjd);
    this.p.add(paramjd);
  }
  
  protected boolean a(ld paramld, double paramDouble1, double paramDouble2)
  {
    return paramld.f(paramDouble1, paramDouble2);
  }
  
  protected boolean a(jg paramjg, double paramDouble1, double paramDouble2)
  {
    return paramjg.b(paramDouble1, paramDouble2);
  }
  
  protected boolean a(tb paramtb, double paramDouble1, double paramDouble2)
  {
    return paramtb.d(paramDouble1, paramDouble2);
  }
  
  protected boolean a(ig paramig, double paramDouble1, double paramDouble2)
  {
    return paramig.b(paramDouble1, paramDouble2);
  }
  
  protected boolean a(eb parameb, double paramDouble1, double paramDouble2)
  {
    return parameb.c(paramDouble1, paramDouble2);
  }
  
  protected boolean a(zd paramzd, double paramDouble1, double paramDouble2)
  {
    return paramzd.a(paramDouble1, paramDouble2);
  }
  
  protected boolean a(jd paramjd, double paramDouble1, double paramDouble2)
  {
    return paramjd.a(paramDouble1, paramDouble2);
  }
  
  private void a(g paramg, double paramDouble1, double paramDouble2, boolean paramBoolean1, boolean paramBoolean2, boolean paramBoolean3, boolean paramBoolean4, boolean paramBoolean5)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    int i1 = 0;
    label15:
    if (i1 < this.h.length) {
      label20:
      if (!bool2) {
        switch (this.h[i1])
        {
        }
      }
    }
    label190:
    label968:
    label1101:
    label1104:
    while (bool2)
    {
      Object localObject3;
      Object localObject5;
      do
      {
        Object localObject2;
        do
        {
          a.c.m localm = paramg.w();
          localm.i();
          do
          {
            if (!localm.e()) {
              break label1101;
            }
            localObject1 = paramg.t(localm.a());
            if (bool1) {
              break;
            }
            if ((!paramBoolean4) || ((bool2) || (((tb)localObject1).K())))
            {
              if (!bool2) {
                if (a(((tb)localObject1).k(), paramDouble1, paramDouble2))
                {
                  a(((tb)localObject1).k());
                  if (bool2) {
                    break label190;
                  }
                  if (paramBoolean1) {
                    return;
                  }
                }
              }
              if (bool2) {
                continue;
              }
              if (a(((tb)localObject1).l(), paramDouble1, paramDouble2))
              {
                a(((tb)localObject1).l());
                if (bool2) {
                  continue;
                }
                if (paramBoolean1) {
                  return;
                }
              }
            }
            localm.g();
          } while (!bool1);
          Object localObject1 = paramg.L();
          if (bool2) {
            break label1104;
          }
          ((fb)localObject1).i();
          do
          {
            if (!((fb)localObject1).e()) {
              break label1101;
            }
            localObject2 = ((fb)localObject1).a();
            if (bool2) {
              break label20;
            }
            if (bool1) {
              break;
            }
            if ((!paramBoolean4) || ((bool2) || (paramg.t(((eb)localObject2).a()).K())))
            {
              if (bool2) {
                continue;
              }
              if (a((eb)localObject2, paramDouble1, paramDouble2))
              {
                a((eb)localObject2);
                if (bool2) {
                  continue;
                }
                if (paramBoolean1) {
                  return;
                }
              }
            }
            ((fb)localObject1).g();
          } while (!bool1);
          localObject2 = paramg.w();
        } while (bool2);
        ((a.c.m)localObject2).i();
        do
        {
          do
          {
            if (!((a.c.m)localObject2).e()) {
              break label1101;
            }
            localObject3 = paramg.t(((a.c.m)localObject2).a());
            if (bool2) {
              break label20;
            }
            if (bool1) {
              break;
            }
            if ((!paramBoolean5) || ((bool2) || (((tb)localObject3).K())))
            {
              int i2 = ((tb)localObject3).V() - 1;
              do
              {
                if (i2 < 0) {
                  break label514;
                }
                localObject5 = ((tb)localObject3).d(i2);
                if (bool1) {
                  break;
                }
                if ((!paramBoolean5) || ((bool2) || (((ig)localObject5).B())))
                {
                  if (bool2) {
                    continue;
                  }
                  if (a((ig)localObject5, paramDouble1, paramDouble2))
                  {
                    a((ig)localObject5);
                    if (bool2) {
                      continue;
                    }
                    if (paramBoolean1) {
                      return;
                    }
                  }
                }
                i2--;
              } while (!bool1);
            }
            ((a.c.m)localObject2).g();
          } while (bool2);
        } while (!bool1);
        localObject3 = paramg.w();
      } while (bool2);
      ((a.c.m)localObject3).i();
      for (;;)
      {
        if (((a.c.m)localObject3).e())
        {
          Object localObject4 = paramg.t(((a.c.m)localObject3).a());
          if (bool2) {
            break label20;
          }
          if (bool1) {
            break;
          }
          if ((!paramBoolean4) || ((bool2) || (((tb)localObject4).K())))
          {
            if (bool2) {
              break label651;
            }
            if (a((tb)localObject4, paramDouble1, paramDouble2))
            {
              a(((a.c.m)localObject3).a());
              if (bool2) {
                break label651;
              }
              if (paramBoolean1) {
                return;
              }
            }
          }
          ((a.c.m)localObject3).g();
          if (bool1)
          {
            localObject4 = j.a(paramg);
            if (bool2) {
              break label1104;
            }
            localObject5 = (bool2) || (localObject4 != null) ? ((j)localObject4).k(((j)localObject4).f(paramg)) : a.i.m.b(paramg.v());
            for (;;)
            {
              if (((Iterator)localObject5).hasNext())
              {
                Object localObject6 = (e)((Iterator)localObject5).next();
                ld localld1 = paramg.w((e)localObject6);
                if ((bool2) || (((!paramBoolean2) || ((bool2) || (localld1.D()))) && (a(localld1, paramDouble1, paramDouble2))))
                {
                  a((e)localObject6);
                  if ((bool2) || (bool2)) {
                    break label20;
                  }
                  if (bool1) {
                    break;
                  }
                  if (paramBoolean1)
                  {
                    return;
                    do
                    {
                      localObject5 = paramg.v();
                      ((w)localObject5).i();
                      do
                      {
                        do
                        {
                          if (!((w)localObject5).e()) {
                            break label968;
                          }
                          localObject6 = paramg.w(((w)localObject5).d());
                          if (bool2) {
                            break label20;
                          }
                          if (bool1) {
                            break;
                          }
                          if ((!paramBoolean3) || ((bool2) || (((ld)localObject6).D())))
                          {
                            int i3 = ((ld)localObject6).x() - 1;
                            do
                            {
                              if (i3 < 0) {
                                break label951;
                              }
                              jg localjg = ((ld)localObject6).b(i3);
                              if (bool1) {
                                break;
                              }
                              if ((!paramBoolean3) || ((bool2) || (localjg.B())))
                              {
                                if (bool2) {
                                  continue;
                                }
                                if (a(localjg, paramDouble1, paramDouble2))
                                {
                                  a(localjg);
                                  if (bool2) {
                                    continue;
                                  }
                                  if (paramBoolean1) {
                                    return;
                                  }
                                }
                              }
                              i3--;
                            } while (!bool1);
                          }
                          ((w)localObject5).g();
                        } while (bool2);
                      } while (!bool1);
                      localObject6 = paramg.v();
                    } while (bool2);
                    ((w)localObject6).i();
                    do
                    {
                      if (!((w)localObject6).e()) {
                        break label1101;
                      }
                      ld localld2 = paramg.w(((w)localObject6).d());
                      if (bool2) {
                        break label20;
                      }
                      if (bool1) {
                        break;
                      }
                      int i4 = localld2.y() - 1;
                      do
                      {
                        do
                        {
                          if (i4 < 0) {
                            break label1084;
                          }
                          jd localjd = localld2.c(i4);
                          if (bool1) {
                            break;
                          }
                          if (a(localjd, paramDouble1, paramDouble2))
                          {
                            a(localjd);
                            if (bool2) {
                              continue;
                            }
                            if (paramBoolean1) {
                              return;
                            }
                          }
                          i4--;
                        } while (!bool1);
                        ((w)localObject6).g();
                      } while (bool2);
                    } while (!bool1);
                  }
                }
              }
            }
          }
        }
      }
      i1++;
      if (bool2) {
        break label15;
      }
      if (!bool1) {
        break;
      }
    }
    label514:
    label651:
    label951:
    label1084:
    return;
  }
  
  private void a(g paramg, Iterator paramIterator, double paramDouble1, double paramDouble2, boolean paramBoolean1, boolean paramBoolean2)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Object localObject1;
    if (!bool2) {
      if (!paramBoolean1) {
        do
        {
          if (!paramIterator.hasNext()) {
            break;
          }
          localObject1 = paramIterator.next();
          a(paramg, localObject1, paramDouble1, paramDouble2);
        } while (!bool1);
      }
    }
    if (!bool2) {
      if (paramBoolean2)
      {
        label131:
        label178:
        label221:
        label350:
        do
        {
          do
          {
            do
            {
              do
              {
                do
                {
                  do
                  {
                    do
                    {
                      do
                      {
                        if (!paramIterator.hasNext()) {
                          return;
                        }
                        localObject1 = paramIterator.next();
                        if (bool2) {
                          break label131;
                        }
                        if (!(localObject1 instanceof d)) {
                          break;
                        }
                      } while ((!bool2) && (!a(paramg.t((d)localObject1), paramDouble1, paramDouble2)));
                      a((d)localObject1);
                      return;
                      if (bool2) {
                        break label178;
                      }
                      if (!(localObject1 instanceof e)) {
                        break;
                      }
                    } while ((!bool2) && (!a(paramg.w((e)localObject1), paramDouble1, paramDouble2)));
                    a((e)localObject1);
                    return;
                    if (bool2) {
                      break label221;
                    }
                    if (!(localObject1 instanceof zd)) {
                      break;
                    }
                  } while ((!bool2) && (!a((zd)localObject1, paramDouble1, paramDouble2)));
                  a((zd)localObject1);
                  return;
                  if (bool2) {
                    break label264;
                  }
                  if (!(localObject1 instanceof eb)) {
                    break;
                  }
                } while ((!bool2) && (!a((eb)localObject1, paramDouble1, paramDouble2)));
                a((eb)localObject1);
                return;
                if (bool2) {
                  break label307;
                }
                if (!(localObject1 instanceof ig)) {
                  break;
                }
              } while ((!bool2) && (!a((ig)localObject1, paramDouble1, paramDouble2)));
              a((ig)localObject1);
              return;
              if (bool2) {
                break label350;
              }
              if (!(localObject1 instanceof jg)) {
                break;
              }
            } while ((!bool2) && (!a((jg)localObject1, paramDouble1, paramDouble2)));
            a((jg)localObject1);
            return;
          } while (!(localObject1 instanceof jd));
        } while ((!bool2) && (!a((jd)localObject1, paramDouble1, paramDouble2)));
        label264:
        label307:
        a((jd)localObject1);
        return;
      }
    }
    int i1 = 0;
    int[] arrayOfInt = new int[this.h.length];
    int i2 = 0;
    if (i2 < this.h.length) {}
    label618:
    while (bool2)
    {
      if (bool1) {
        break label631;
      }
      switch (this.h[i2])
      {
      case 0: 
        i1 |= 0x4;
        arrayOfInt[0] = i2;
        if (bool2) {
          break label618;
        }
        if (!bool1) {
          break;
        }
      case 1: 
        i1 |= 0x8;
        arrayOfInt[1] = i2;
        if (bool2) {
          break label618;
        }
        if (!bool1) {
          break;
        }
      case 2: 
        i1 |= 0x20;
        arrayOfInt[2] = i2;
        if (bool2) {
          break label618;
        }
        if (!bool1) {
          break;
        }
      case 3: 
        i1 |= 0x2;
        arrayOfInt[3] = i2;
        if (bool2) {
          break label618;
        }
        if (!bool1) {
          break;
        }
      case 4: 
        i1 |= 0x1;
        arrayOfInt[4] = i2;
        if (bool2) {
          break label618;
        }
        if (!bool1) {
          break;
        }
      case 5: 
        i1 |= 0x10;
        arrayOfInt[5] = i2;
        if (bool2) {
          break label618;
        }
        if (!bool1) {
          break;
        }
      case 6: 
        i1 |= 0x40;
        arrayOfInt[6] = i2;
      }
      i2++;
      if (!bool1) {
        break;
      }
    }
    label631:
    Object[] arrayOfObject = new Object[this.h.length];
    while (paramIterator.hasNext())
    {
      Object localObject2 = paramIterator.next();
      if (!bool2) {
        if (((i1 & 0x2) != 0) && ((bool2) || (arrayOfObject[arrayOfInt[3]] == null)))
        {
          if (bool2) {
            break label745;
          }
          if ((localObject2 instanceof d))
          {
            if (!bool2)
            {
              if (!a(paramg.t((d)localObject2), paramDouble1, paramDouble2)) {
                continue;
              }
              arrayOfObject[arrayOfInt[3]] = localObject2;
            }
            if (bool2) {
              continue;
            }
            if (arrayOfInt[3] != 0) {
              continue;
            }
            break;
          }
        }
      }
      label745:
      if (!bool2) {
        if (((i1 & 0x1) != 0) && ((bool2) || (arrayOfObject[arrayOfInt[4]] == null)))
        {
          if (bool2) {
            break label833;
          }
          if ((localObject2 instanceof e))
          {
            if (!bool2)
            {
              if (!a(paramg.w((e)localObject2), paramDouble1, paramDouble2)) {
                continue;
              }
              arrayOfObject[arrayOfInt[4]] = localObject2;
            }
            if (bool2) {
              continue;
            }
            if (arrayOfInt[4] != 0) {
              continue;
            }
            break;
          }
        }
      }
      label833:
      if (!bool2) {
        if (((i1 & 0x4) != 0) && ((bool2) || (arrayOfObject[arrayOfInt[0]] == null)))
        {
          if (bool2) {
            break label918;
          }
          if ((localObject2 instanceof zd))
          {
            if (!bool2)
            {
              if (!a((zd)localObject2, paramDouble1, paramDouble2)) {
                continue;
              }
              arrayOfObject[arrayOfInt[0]] = localObject2;
            }
            if (bool2) {
              continue;
            }
            if (arrayOfInt[0] != 0) {
              continue;
            }
            break;
          }
        }
      }
      label918:
      if (!bool2) {
        if (((i1 & 0x8) != 0) && ((bool2) || (arrayOfObject[arrayOfInt[1]] == null)))
        {
          if (bool2) {
            break label1003;
          }
          if ((localObject2 instanceof eb))
          {
            if (!bool2)
            {
              if (!a((eb)localObject2, paramDouble1, paramDouble2)) {
                continue;
              }
              arrayOfObject[arrayOfInt[1]] = localObject2;
            }
            if (bool2) {
              continue;
            }
            if (arrayOfInt[1] != 0) {
              continue;
            }
            break;
          }
        }
      }
      label1003:
      if (!bool2) {
        if (((i1 & 0x20) != 0) && ((bool2) || (arrayOfObject[arrayOfInt[2]] == null)))
        {
          if (bool2) {
            break label1088;
          }
          if ((localObject2 instanceof ig))
          {
            if (!bool2)
            {
              if (!a((ig)localObject2, paramDouble1, paramDouble2)) {
                continue;
              }
              arrayOfObject[arrayOfInt[2]] = localObject2;
            }
            if (bool2) {
              continue;
            }
            if (arrayOfInt[2] != 0) {
              continue;
            }
            break;
          }
        }
      }
      label1088:
      if (!bool2) {
        if (((i1 & 0x10) != 0) && ((bool2) || (arrayOfObject[arrayOfInt[5]] == null)))
        {
          if (bool2) {
            break label1173;
          }
          if ((localObject2 instanceof jg))
          {
            if (!bool2)
            {
              if (!a((jg)localObject2, paramDouble1, paramDouble2)) {
                continue;
              }
              arrayOfObject[arrayOfInt[5]] = localObject2;
            }
            if (bool2) {
              continue;
            }
            if (arrayOfInt[5] != 0) {
              continue;
            }
            break;
          }
        }
      }
      if ((i1 & 0x40) != 0) {
        label1173:
        if (((bool2) || (arrayOfObject[arrayOfInt[6]] == null)) && ((bool2) || ((localObject2 instanceof jd)))) {
          if (!bool2)
          {
            if (a((jd)localObject2, paramDouble1, paramDouble2)) {
              arrayOfObject[arrayOfInt[6]] = localObject2;
            }
          }
          else if (!bool2) {
            if (arrayOfInt[6] == 0) {
              break;
            }
          }
        }
      }
    }
    int i3 = 0;
    do
    {
      if (i3 >= arrayOfObject.length) {
        break;
      }
      if (arrayOfObject[i3] != null)
      {
        if (!bool2) {
          switch (this.h[i3])
          {
          case 0: 
            a((zd)arrayOfObject[i3]);
            if (!bool2) {
              if (!bool1) {
                return;
              }
            }
          case 1: 
            a((eb)arrayOfObject[i3]);
            if (!bool2) {
              if (!bool1) {
                return;
              }
            }
          case 2: 
            a((ig)arrayOfObject[i3]);
            if (!bool2) {
              if (!bool1) {
                return;
              }
            }
          case 3: 
            a((d)arrayOfObject[i3]);
            if (!bool2) {
              if (!bool1) {
                return;
              }
            }
          case 4: 
            a((e)arrayOfObject[i3]);
            if (!bool2) {
              if (!bool1) {
                return;
              }
            }
          case 5: 
            a((jg)arrayOfObject[i3]);
            if (!bool2) {
              if (!bool1) {
                return;
              }
            }
          case 6: 
            a((jd)arrayOfObject[i3]);
            if (bool2) {
              continue;
            }
            if (!bool1) {
              return;
            }
            break;
          }
        }
      }
      else {
        i3++;
      }
    } while (!bool1);
  }
  
  private void a(g paramg, Object paramObject, double paramDouble1, double paramDouble2)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if (!bool2) {
      if ((paramObject instanceof d))
      {
        if (!bool2)
        {
          if (!a(paramg.t((d)paramObject), paramDouble1, paramDouble2)) {
            return;
          }
          a((d)paramObject);
        }
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if (!bool2) {
      if ((paramObject instanceof e))
      {
        if (!bool2)
        {
          if (!a(paramg.w((e)paramObject), paramDouble1, paramDouble2)) {
            return;
          }
          a((e)paramObject);
        }
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if (!bool2) {
      if ((paramObject instanceof zd))
      {
        if (!bool2)
        {
          if (!a((zd)paramObject, paramDouble1, paramDouble2)) {
            return;
          }
          a((zd)paramObject);
        }
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if (!bool2) {
      if ((paramObject instanceof eb))
      {
        if (!bool2)
        {
          if (!a((eb)paramObject, paramDouble1, paramDouble2)) {
            return;
          }
          a((eb)paramObject);
        }
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if (!bool2) {
      if ((paramObject instanceof ig))
      {
        if (!bool2)
        {
          if (!a((ig)paramObject, paramDouble1, paramDouble2)) {
            return;
          }
          a((ig)paramObject);
        }
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if (!bool2) {
      if ((paramObject instanceof jg))
      {
        if (!bool2)
        {
          if (!a((jg)paramObject, paramDouble1, paramDouble2)) {
            return;
          }
          a((jg)paramObject);
        }
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if ((bool2) || (((paramObject instanceof jd)) && ((bool2) || (a((jd)paramObject, paramDouble1, paramDouble2))))) {
      a((jd)paramObject);
    }
  }
  
  public boolean a()
  {
    if (!ld.E) {}
    return !this.p.isEmpty();
  }
  
  public boolean b()
  {
    if (!ld.E) {}
    return c() > 1;
  }
  
  int c()
  {
    return this.p.size();
  }
  
  public y d()
  {
    return this.p.h();
  }
  
  public y e()
  {
    return this.j.h();
  }
  
  public y f()
  {
    return this.k.h();
  }
  
  public y g()
  {
    return this.i.h();
  }
  
  public y h()
  {
    return this.n.h();
  }
  
  public y i()
  {
    return this.m.h();
  }
  
  public y j()
  {
    return this.l.h();
  }
  
  public y k()
  {
    return this.o.h();
  }
  
  public Object l()
  {
    if (!ld.E) {
      if (this.p.isEmpty()) {
        return null;
      }
    }
    return this.p.a();
  }
  
  public e m()
  {
    if (!ld.E) {
      if (this.j.isEmpty()) {
        return null;
      }
    }
    return (e)this.j.a();
  }
  
  public eb n()
  {
    if (!ld.E) {
      if (this.k.isEmpty()) {
        return null;
      }
    }
    return (eb)this.k.a();
  }
  
  public d o()
  {
    if (!ld.E) {
      if (this.i.isEmpty()) {
        return null;
      }
    }
    return (d)this.i.a();
  }
  
  public jg p()
  {
    if (!ld.E) {
      if (this.m.isEmpty()) {
        return null;
      }
    }
    return (jg)this.m.a();
  }
  
  public ig q()
  {
    if (!ld.E) {
      if (this.l.isEmpty()) {
        return null;
      }
    }
    return (ig)this.l.a();
  }
  
  public zd r()
  {
    if (!ld.E) {
      if (this.n.isEmpty()) {
        return null;
      }
    }
    return (zd)this.n.a();
  }
  
  public jd s()
  {
    if (!ld.E) {
      if (this.o.isEmpty()) {
        return null;
      }
    }
    return (jd)this.o.a();
  }
  
  public boolean t()
  {
    if (!ld.E) {}
    return !this.o.isEmpty();
  }
  
  public boolean u()
  {
    if (!ld.E) {}
    return !this.n.isEmpty();
  }
  
  public boolean v()
  {
    if (!ld.E) {}
    return !this.l.isEmpty();
  }
  
  public boolean w()
  {
    if (!ld.E) {}
    return !this.m.isEmpty();
  }
  
  public boolean x()
  {
    if (!ld.E) {}
    return !this.j.isEmpty();
  }
  
  public boolean y()
  {
    if (!ld.E) {}
    return !this.i.isEmpty();
  }
  
  public boolean z()
  {
    if (!ld.E) {}
    return !this.k.isEmpty();
  }
  
  public sc a(g paramg, double paramDouble1, double paramDouble2)
  {
    if (!ld.E) {
      if (c() > 1)
      {
        Object localObject = l();
        Iterator localIterator = this.p.iterator();
        localIterator.next();
        sc localsc = new sc(paramg, localIterator, paramDouble1, paramDouble2, false);
        localsc.a(paramg, localObject, paramDouble1, paramDouble2);
        return localsc;
      }
    }
    return this;
  }
  
  public boolean a(sc paramsc)
  {
    if (paramsc == null) {
      return false;
    }
    HashSet localHashSet1 = new HashSet(this.p);
    localHashSet1.removeAll(paramsc.p);
    if (!ld.E) {
      if (!localHashSet1.isEmpty()) {
        return false;
      }
    }
    HashSet localHashSet2 = new HashSet(paramsc.p);
    localHashSet2.removeAll(this.p);
    return localHashSet2.isEmpty();
  }
  
  private void a(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    this.n = new z();
    this.i = new z();
    this.j = new z();
    this.k = new z();
    this.l = new z();
    this.m = new z();
    this.o = new z();
    this.p = new z();
    int[] arrayOfInt = { paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6, paramInt7 };
    int i1 = 0;
    int i2 = 0;
    do
    {
      if (i2 >= arrayOfInt.length) {
        break;
      }
      if (bool1) {
        break label232;
      }
      switch (arrayOfInt[i2])
      {
      case 0: 
      case 1: 
      case 2: 
      case 3: 
      case 4: 
      case 5: 
      case 6: 
        i1++;
      }
      i2++;
    } while (!bool1);
    this.h = new int[i1];
    i1 = 0;
    if (!bool2) {
      label232:
      i2 = 0;
    }
    if (i2 < arrayOfInt.length) {
      if (!bool2) {
        switch (arrayOfInt[i2])
        {
        }
      }
    }
    while (bool2)
    {
      this.h[(i1++)] = arrayOfInt[i2];
      i2++;
      if (!bool1) {
        break;
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.sc

 * JD-Core Version:    0.7.0.1

 */